package com.example.lte.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author lzh
 * @date 2020/10/25 - 11:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SaveUserPO {
    @NotBlank(message = "name不能为空")
    private String name;
    @NotBlank(message = "account 不能为空")
    private String account;
    @NotNull(message = "sex 不能为空")
    private int sex;
}
